package com.campus.service;

import com.campus.model.Activity;

import java.util.List;

public interface ActivityService {
    int createActivity(Activity activity);
    boolean updateActivity(Activity activity);
    boolean publishActivity(int activityId);
    List<Activity> queryActivities(Integer status, String name, String orderBy);
    // 查询所有活动
    List<Activity> listAllActivities();
    boolean deleteActivity(int id);
}
